﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>

<asp:Panel ID="panel1" runat="server">
<script type="text/javascript">
    function ckNumber(obj) {
        var tt = 'ctl00_MainerRegion_ZSPG_ZSPersonInfoControl___';
        var t1 = tt + obj;
        var ctrlTemp = document.getElementById(t1);
        if (ctrlTemp != null) {
            if (isNaN(ctrlTemp.value)) {
                alert("不是一个有效的数字，请重新输入 ！");
                ctrlTemp.value = '';
            }
        }
    }
    function OpenFileUpload(type, cqid, cid, pid, flag) {
        window.open('../ZSManage/FileUpload3.aspx?usetype=' + type + '&pid=' + pid + '&cid=' + cid + '&cqid=' + cqid + '&flag=' + flag, '文件上传', 'height=600px,width=800px;toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,status=yes');
    }
    function showcxxiangmu() {
        if (document.getElementById('cxxiangmu').style.display == 'none') {
            document.getElementById('cxxiangmu').style.display = 'block';
        } else {
           document.getElementById('cxxiangmu').style.display = 'none';
        }
    }
    function isdisplay(v) {
        if ($(v).attr("checked")) {
            document.getElementById("tr1").style.display = "none";
        }
        else {
            document.getElementById("tr1").style.display = "block";
        }

    }
    function showornull(obj) {
        if (obj.checked) {
            document.getElementById("tr1").style.display = 'none';
        } else {
            document.getElementById("tr1").style.display = 'block';
        }
    }
    window.onload = function aaaaaa() {
    if (document.getElementById("ZSPG_ZSPersonInfoControl___ckb是否已故").checked) {
        document.getElementById("tr1").style.display = 'none';
    }
    };
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
        margin-top: 1px">
        <tr>
                <td valign="middle" height="30">
                    <font style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left; color: black">
                        &nbsp;被征收人员信息维护 </font>
                </td>
            </tr>
        </table>
        <table border='1' cellpadding='0' cellspacing='0' id="compensationfundestimate" style='border-collapse: collapse;
            table-layout: fixed; width: 100%; text-align: center' class="window_tab_list">
            <tr>
                <th colspan="6" style="text-align: center; line-height: 20px;">
                    被征收人员信息维护</th>
                </tr>
                <tr>
                <td>项目名称：</td>
                <td colspan="2" align="left" style=" padding-left:27px;"  >
                    <asp:DropDownList runat="server" ID="ddlPID" Width="270px"></asp:DropDownList>
                    <span style="cursor:pointer; color:#223399;" onclick="javascript:showcxxiangmu();">查询                 </span>
                </td>
                <td colspan="3" align="left" style=" padding-left:27px;">
                    <span id="cxxiangmu" style="display:none;"><asp:TextBox ID="项目名称" runat="server"></asp:TextBox>&nbsp;
                    <asp:Button ID="Button1" runat="server" Text="查询" /></span>
                </td>
               
            </tr>
                <tr>
                 <td>房屋坐落
                </td>
                <td colspan="2" align="left" style="padding-left:27px;"><asp:TextBox ID="txt房屋坐落" Width="267" runat="server"></asp:TextBox></td>

                  <td>承租人
                </td>
                <td colspan="2"> <asp:TextBox ID="txt承租人" runat="server"></asp:TextBox>
                </td>
                                </tr>
            <tr>
                
                <td>产权人
                </td>
                <td><asp:TextBox ID="txt产权人" runat="server"></asp:TextBox>
                </td>
                <td>
                    是否已故<asp:CheckBox ID="ckb是否已故"  runat="server" onclick="showornull(this)"  />
                </td>
                <td>
                    承租人身份证
                </td>
               <td colspan="2" >
               <asp:TextBox ID="txt承租人号码" runat="server"></asp:TextBox>
                </td>

            </tr>
            <tr id="tr1">
                 <td>证件类型
                </td>
                <td>
                    <asp:DropDownList ID="ddl证件类型" runat="server" Width="150px">
                    </asp:DropDownList>
                </td>
                <td>证件号
                </td>
                <td colspan="3" align="left" style=" padding-left:27px;"><asp:TextBox ID="txt证件号" runat="server" Width="350" Height="70" TextMode="MultiLine"></asp:TextBox>
                <label style=" font-size:15; color:Red;">如果有多个证件号请用,号隔开</label>
                </td>
               
            </tr>
            <tr>
              <td>房屋建筑面积(m2)
                </td>
                <td><asp:TextBox ID="txt房屋建筑面积" runat="server"  onchange="ckNumber('txt房屋建筑面积')"></asp:TextBox>
                </td>
                <td>
                  其中住改非使用面积(m2)
                </td>
                <td>
                <asp:TextBox ID="txt住改非使用面积" runat="server"  onchange="ckNumber('txt住改非使用面积')"></asp:TextBox>   
                </td>
                <td>房屋结构</td>
                <td>
                <asp:DropDownList ID="ddl房屋结构" runat="server" Width="150px">
                    </asp:DropDownList>
                </td>
                 
            </tr>
            <tr>
                 <td>丘权号
                </td>
                <td><asp:TextBox ID="txt丘权号" runat="server"></asp:TextBox>
                </td>
                  <td>房屋权证编号
                </td>
                <td><asp:TextBox ID="txt房屋权证编号" runat="server"></asp:TextBox>
                </td>
                <td>房屋产权证证载用途</td>
                <td> 
                    <asp:DropDownList ID="txt房屋用途" Width="150px" runat="server">
                    </asp:DropDownList>                   
                </td>
            </tr>
            <tr>
                <td>地大于房面积
                </td>
                <td><asp:TextBox ID="txt地大于房面积" runat="server"></asp:TextBox>
                </td>
             <td>房屋使用面积
                </td>
                <td><asp:TextBox ID="txt房屋使用面积" runat="server"></asp:TextBox>
                </td>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>土地使用面积</td>
                <td><asp:TextBox ID="txt土地分摊面积" runat="server"></asp:TextBox></td>
                 <td>土地权证编号
                </td>
                <td><asp:TextBox ID="txt土地权证编号" runat="server"></asp:TextBox>
                </td>
                 <td>土地使用证证载用途</td>
                <td>
                    <asp:DropDownList ID="txt国有土地使用证证载用途" Width="150px" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>房屋使用现状
                </td>
                <td><asp:TextBox ID="txt使用性质" runat="server"></asp:TextBox></td>
              <td>所在层次
                </td>
                <td><asp:TextBox ID="txt所属层次" runat="server"></asp:TextBox>
                </td>
                  <td>未登记房屋建筑面积
                </td>
                <td>
                    <asp:TextBox ID="txt未登记的建筑面积" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>信息是否填写完整</td>
                <td><asp:DropDownList ID="txt信息完整" runat="server">
                    <asp:ListItem Text="否" Value="0"></asp:ListItem>
                    <asp:ListItem Text="是" Value="1"></asp:ListItem>
                </asp:DropDownList></td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td><asp:Button ID="btnUpload" runat="server" Text="附件上传"/></td>
                <td colspan="5">
                    <asp:Button ID="btnInsert" runat="server" Text="新增" />&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnSave" runat="server" OnClientClick="return confirm('证件号需要录入，确认已录入吗？');" Text="保存" />&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnReturn" runat="server" Text="返回" />
                    <span style="font-size:12px; color:Red;">同一个人的证件号必须录入一致！</span>
                </td>
            </tr>
            <tr>
                <td colspan="6" style="font-size:12px; color:Red;">
                    请在录入人员之前确认该人员数据录入之后不会重复！
                </td>
            </tr>
        </table>
    <CBW:MPPersistence  ID="Persistence1" runat="server"></CBW:MPPersistence>
</asp:Panel>